<%@ page contentType="text/html;charset=utf-8"%>
<%@ page
	import="java.io.*, java.sql.*, java.util.*, java.text.*, napal.*, util.*, napal.*"%>
<%@ page import="org.apache.ibatis.*"%>
<%@ page import="java.util.Date"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	request.setCharacterEncoding("utf-8");
String mu = (String)session.getAttribute("managerID");
String uu = (String)session.getAttribute("userID");
String rank = (String) session.getAttribute("managerRank");
%>

<body>
 <script src="http://code.jquery.com/jquery.js"></script>
    <script src=' ./bootstrap/js/bootstrap.min.js'></script>
    <div class="navbar">
 		 <div class="navbar-inner">
  			 <a class="brand" href="Main.jsp?id=<%if (mu != null) {%>
						<%=mu%>
						<%} else if (uu != null) {%>
						<%=uu%>
						<%}%>">Home</a>
				<ul class="nav">
				
				<li class="divider-vertical"  style="float: left; padding:10px 15px 10px;"><a href="./giguan.jsp" >기자재관리</a></li>
				<li class="divider-vertical" style="float: left; padding:10px 15px 10px;"><a href="./RentalApp.jsp">대여지급</a></li>
				<%
			
			if(rank.equals("관리자")){
				%>
				<li class="divider-vertical" style="float: left; padding:10px 15px 10px;"><a href="./RentalEndApp.jsp">대여승인</a></li>
				<li class="divider-vertical" style="float: left; padding:10px 15px 10px;"><a href="./ExtensionApp.jsp">연장승인</a></li>
				<%
			}
			%>
			
				<li class="divider-vertical" style="float: left; padding:10px 15px 10px;"><a href="./Return.jsp">반납&대여관리</a></li>
				<li class="divider-vertical"  style="float: left; padding:10px 15px 10px;"><a href="./OverdueCheck.jsp" >사용자연체조회</a></li>
				<li class="divider-vertical" style="float: left; padding:10px 15px 10px;"><a href="./Damage.jsp">사용자손분실조회</a></li>
				<li class="divider-vertical" style="float: left; padding:10px 15px 10px;" ><a href="./BoardList.jsp">게시판</a></li>
			</ul>
		</div>
	</div> 
</body>
</html>